<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @post.title %>
</p>

<p>
  <b>Content:</b>
  <%= @post.content %>
</p>

<p>
   <b>Tags:</b>
   <ul>
   <% @post.includes.order("cardinality DESC").each do |include| %>
    <li> <%=include.tag.content%> (<%=include.cardinality%>) </li>
   <% end %>
  </ul>
</p>

<p>
  <b>Compare to member:</b>
  <ul>
    <% @members.each do |member| %>
    <li> <%=link_to(member.username, compare_path(@post.id, member.id) )%> </li>
    <% end %>
  </ul>
</p>

<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>

